package com.gxp.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gxp.common.annotation.Excel;
import com.gxp.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 自动化实验对象 zk_auto_expinfo
 * 
 * @author zh
 * @date 2024-03-20
 */
public class ZkAutoExpinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long autoexpId;

    private String expCode;

    /**  */
    @Excel(name = "")
    private Integer slot;

    /**  */
    @Excel(name = "")
    private String status;

    /**  */
    @Excel(name = "")
    private String user;

    /**  */
    @Excel(name = "")
    private String autoexpName;

    /**  */
    @Excel(name = "")
    private String no;

    /**  */
    @Excel(name = "")
    private String solvent;

    /**  */
    @Excel(name = "")
    private String experiment;

    /**  */
    @Excel(name = "")
    private Integer tempspin;

    /**  */
    @Excel(name = "")
    private String stm;

    /**  */
    @Excel(name = "")
    private String shim;

    /**  */
    @Excel(name = "")
    private String expLock;

    /**  */
    @Excel(name = "")
    private String gain;

    /**  */
    @Excel(name = "")
    private String param;

    /**  */
    @Excel(name = "")
    private String title;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date startTime;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date endTime;

    /**  */
    @Excel(name = "")
    private Long instId;

    public void setAutoexpId(Long autoexpId) 
    {
        this.autoexpId = autoexpId;
    }

    public Long getAutoexpId() 
    {
        return autoexpId;
    }
    public void setSlot(Integer slot) 
    {
        this.slot = slot;
    }

    public Integer getSlot() 
    {
        return slot;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setUser(String user) 
    {
        this.user = user;
    }

    public String getUser() 
    {
        return user;
    }
    public void setAutoexpName(String autoexpName) 
    {
        this.autoexpName = autoexpName;
    }

    public String getAutoexpName() 
    {
        return autoexpName;
    }
    public void setNo(String no) 
    {
        this.no = no;
    }

    public String getNo() 
    {
        return no;
    }
    public void setSolvent(String solvent) 
    {
        this.solvent = solvent;
    }

    public String getSolvent() 
    {
        return solvent;
    }
    public void setExperiment(String experiment) 
    {
        this.experiment = experiment;
    }

    public String getExperiment() 
    {
        return experiment;
    }
    public void setTempspin(Integer tempspin) 
    {
        this.tempspin = tempspin;
    }

    public Integer getTempspin() 
    {
        return tempspin;
    }
    public void setStm(String stm) 
    {
        this.stm = stm;
    }

    public String getStm() 
    {
        return stm;
    }
    public void setShim(String shim) 
    {
        this.shim = shim;
    }

    public String getShim() 
    {
        return shim;
    }
    public void setExpLock(String expLock)
    {
        this.expLock = expLock;
    }

    public String getExpLock()
    {
        return expLock;
    }
    public void setGain(String gain) 
    {
        this.gain = gain;
    }

    public String getGain() 
    {
        return gain;
    }
    public void setParam(String param) 
    {
        this.param = param;
    }

    public String getParam() 
    {
        return param;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setInstId(Long instId) 
    {
        this.instId = instId;
    }

    public Long getInstId() 
    {
        return instId;
    }

    public String getExpCode() {
        return expCode;
    }

    public void setExpCode(String expCode) {
        this.expCode = expCode;
    }

//    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("autoexpId", getAutoexpId())
            .append("expcode", getExpCode())
            .append("slot", getSlot())
            .append("status", getStatus())
            .append("user", getUser())
            .append("autoexpName", getAutoexpName())
            .append("no", getNo())
            .append("solvent", getSolvent())
            .append("experiment", getExperiment())
            .append("tempspin", getTempspin())
            .append("stm", getStm())
            .append("shim", getShim())
            .append("expLock", getExpLock())
            .append("gain", getGain())
            .append("param", getParam())
            .append("title", getTitle())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("instId", getInstId())
            .toString();
    }


}
